using System.Text;
using Newtonsoft.Json;

namespace Crux.Core.EFCore.Test;
/// <summary>
/// JsonContent]
/// </summary>
public class JsonContent : StringContent
{
    public JsonContent(object obj) :
        base(JsonConvert.SerializeObject(obj), Encoding.UTF8, "application/json")
    { }
}